<html>
<head><meta charset="utf-8"><title>Suspicious double `SimplifyCfg` · t-compiler/wg-mir-opt · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/index.html">t-compiler/wg-mir-opt</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/Suspicious.20double.20.60SimplifyCfg.60.html">Suspicious double `SimplifyCfg`</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210073579"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/Suspicious%20double%20%60SimplifyCfg%60/near/210073579" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/Suspicious.20double.20.60SimplifyCfg.60.html#210073579">(Sep 14 2020 at 23:08)</a>:</h4>
<p>Is this running <code>SimplifyCfg</code> twice on purpose or is that just an oversight? <a href="https://github.com/rust-lang/rust/blob/41dc3942eb33e8e882b6e4782a9bd9d2b8970647/compiler/rustc_mir/src/transform/mod.rs#L469-L470">https://github.com/rust-lang/rust/blob/41dc3942eb33e8e882b6e4782a9bd9d2b8970647/compiler/rustc_mir/src/transform/mod.rs#L469-L470</a></p>



<a name="210073852"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/Suspicious%20double%20%60SimplifyCfg%60/near/210073852" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/Suspicious.20double.20.60SimplifyCfg.60.html#210073852">(Sep 14 2020 at 23:12)</a>:</h4>
<p>there used to be steps between those, until:<br>
<a href="https://github.com/rust-lang/rust/commit/6de6d70ae0a21b779d63d885438c7214e17e7a6d">https://github.com/rust-lang/rust/commit/6de6d70ae0a21b779d63d885438c7214e17e7a6d</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>